package com.ghost.vo.role
{
	public class Role_list
	{
		public var list:Array=[];
		public function Role_list(x:XML)
		{
			if(x)parse(x);
		}
		private function parse(x:XML):void
		{
			for each(var ghost:XML in x.role)
			{
				var ghost_role:Role_pro = new Role_pro(ghost);
				list[ghost_role.type] = ghost_role;
			}
		}
	}
}